﻿using System;
using System.Globalization;
using Dmoz.Importer.Properties;

[assembly: CLSCompliant(false)]
namespace Dmoz.Importer
{
    /// <summary>
    /// Main class
    /// </summary>
    class Program
    {

        /// <summary>
        /// Mains this instance.
        /// </summary>
        static void Main()
        {
            try
            {
                DBHelper.Process(Settings.Default.DMOZ_structure_path);
               
            }
            catch(Exception ex)
            {
                Console.Write(String.Format(CultureInfo.InvariantCulture, "Ouch! an error : {0}", ex));
            }

            Console.WriteLine("PRESS A KEY TO QUIT.");
            Console.ReadKey();
        }

        
    }
}
